package dao

import (
	"database/sql"
)

var Db *sql.DB

func Init() {
	var err error
	Db, err = sql.Open("mysql", "root:test123@tcp(127.0.0.1:3306)/test?charset=utf8")
	if err != nil {
		panic(err)
	}
}
